<?php if($admin_login_status) {?><script type="text/javascript">function delete_single_list(id){if(!confirm('你确认要删除该页面?')){return false;}$.post('<?php echo $this->create_url('admin_page/ajax_delete_page'); ?>', {mode:0,list_id:id}, function(data){switch(data){case '101':alert('恭喜,操作成功!');location.href='<?php echo $this->get_action_url('index'); ?>';break;case '100':alert('对不起!操作失败,请重新操作');break;}});}</script><?php } ?>
<table width="760" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:30px;">
      <tr>
        <td height="30" align="left" style="font-size:18px;">&nbsp;<?php echo $post_data['post_title']; ?></td>
      </tr>
      <tr>
        <td height="20" align="left" style="font-size:12px; line-height:20px; color:#666666;"></td>
      </tr>
      <tr>
        <td align="left"><div style="font-size:12px; line-height:20px; margin-top:10px; margin-bottom:30px;"><?php echo $post_data['post_content']; ?></div></td>
      </tr>
      <tr style="font-size:12px; line-height:20px; color:#999999;">
        <td height="20" align="left">&nbsp;作者：<?php echo $post_author; ?> &nbsp;标签：<?php echo $tag_str; ?>&nbsp;发表时间：<?php echo $post_data['date_added']; ?>&nbsp;<?php if($admin_login_status) { ?><a href="<?php echo $this->create_url('admin_page/edit_article'); ?>/?id=<?php echo $post_data['post_id']; ?>">编辑</a>&nbsp;<a href="javascript:void(0);" onclick="delete_single_list(<?php echo $post_data['post_id']; ?>)">删除</a><?php } ?></td>
      </tr>
</table>